package com.winit.openapi.chinapost.model;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class LogisticsPlan {

	/**
	 * 交易订单ID 
	 */
	private Long tradeId;
	
	/**
	 * 物流订单号
	 */
	private String orderCode;
	
	/**
	 * 转运段
		国外:INTERNATIONAL
		国内:DOMESTIC
	 */
	private String segmentCode;
	
	/**
	 * CPCode
	 */
	private String carrierCode;
	
	/**
	 * 出库批次号
	 */
	private String batchNo;
	
	/**
	 * 物流运单号
	 */
	private String mailNo;
	
	/**
	 * 出库时间，格式：yyyy-MM-dd HH:mm:ss
	 */
	private String occurtime;
	
	/**
	 * 出仓的大包裹编号
	 */
	private String packageCode;
	
	/**
	 * 大包裹净重；单位 克 
	 */
	private Long packageWeight;
	
	/**
	 * 大包裹里面所有的小包裹数量
	 */
	private Long ordersInPackage;
	
	/**
	 * 出库失败的原因，如 因为报关失败
	 */
	private String remark;
	
	/**
	 * 出库失败代码
	 */
	private String remarkCode;
	/**
     * 异常code
     */
    private String expectionCode;
    /**
     * 异常处理code
     */
    private String handleCode;
    
    
    
    public String getHandleCode() {
        return handleCode;
    }


    
    public void setHandleCode(String handleCode) {
        this.handleCode = handleCode;
    }


    public String getExpectionCode() {
        return expectionCode;
    }

    
    public void setExpectionCode(String expectionCode) {
        this.expectionCode = expectionCode;
    }

	public Long getTradeId() {
		return tradeId;
	}

	public void setTradeId(Long tradeId) {
		this.tradeId = tradeId;
	}

	public String getOrderCode() {
		return orderCode;
	}

	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}

	public String getSegmentCode() {
		return segmentCode;
	}

	public void setSegmentCode(String segmentCode) {
		this.segmentCode = segmentCode;
	}

	public String getCarrierCode() {
		return carrierCode;
	}

	public void setCarrierCode(String carrierCode) {
		this.carrierCode = carrierCode;
	}

	public String getBatchNo() {
		return batchNo;
	}

	public void setBatchNo(String batchNo) {
		this.batchNo = batchNo;
	}

	public String getMailNo() {
		return mailNo;
	}

	public void setMailNo(String mailNo) {
		this.mailNo = mailNo;
	}

	public String getOccurtime() {
		return occurtime;
	}

	public void setOccurtime(String occurtime) {
		this.occurtime = occurtime;
	}

	public String getPackageCode() {
		return packageCode;
	}

	public void setPackageCode(String packageCode) {
		this.packageCode = packageCode;
	}

	public Long getPackageWeight() {
		return packageWeight;
	}

	public void setPackageWeight(Long packageWeight) {
		this.packageWeight = packageWeight;
	}

	public Long getOrdersInPackage() {
		return ordersInPackage;
	}

	public void setOrdersInPackage(Long ordersInPackage) {
		this.ordersInPackage = ordersInPackage;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getRemarkCode() {
		return remarkCode;
	}

	public void setRemarkCode(String remarkCode) {
		this.remarkCode = remarkCode;
	}
	
	
}
